package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Account;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface AccountDao {
    public void insertAccount(Account account) throws AppBusinessException;

    public void updateAccount(Account account) throws AppBusinessException;

    public void delAccountById(String id) throws AppBusinessException;

    public Account getAccountById(String id) throws AppBusinessException;

    public Account getAccountByMember(String member) throws AppBusinessException;

    public Account getAccountByName(String name) throws AppBusinessException;

    public List<Account> getAccountList(Map<String, Object> map) throws AppBusinessException;
}
